package com.anolesoft.yr.mbus.cont.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ContPaymentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ContPaymentExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andObjuidIsNull() {
            addCriterion("objuid is null");
            return (Criteria) this;
        }

        public Criteria andObjuidIsNotNull() {
            addCriterion("objuid is not null");
            return (Criteria) this;
        }

        public Criteria andObjuidEqualTo(String value) {
            addCriterion("objuid =", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidNotEqualTo(String value) {
            addCriterion("objuid <>", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidGreaterThan(String value) {
            addCriterion("objuid >", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidGreaterThanOrEqualTo(String value) {
            addCriterion("objuid >=", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidLessThan(String value) {
            addCriterion("objuid <", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidLessThanOrEqualTo(String value) {
            addCriterion("objuid <=", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidLike(String value) {
            addCriterion("objuid like", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidNotLike(String value) {
            addCriterion("objuid not like", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidIn(List<String> values) {
            addCriterion("objuid in", values, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidNotIn(List<String> values) {
            addCriterion("objuid not in", values, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidBetween(String value1, String value2) {
            addCriterion("objuid between", value1, value2, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidNotBetween(String value1, String value2) {
            addCriterion("objuid not between", value1, value2, "objuid");
            return (Criteria) this;
        }

        public Criteria andContMainUidIsNull() {
            addCriterion("cont_main_uid is null");
            return (Criteria) this;
        }

        public Criteria andContMainUidIsNotNull() {
            addCriterion("cont_main_uid is not null");
            return (Criteria) this;
        }

        public Criteria andContMainUidEqualTo(String value) {
            addCriterion("cont_main_uid =", value, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidNotEqualTo(String value) {
            addCriterion("cont_main_uid <>", value, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidGreaterThan(String value) {
            addCriterion("cont_main_uid >", value, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidGreaterThanOrEqualTo(String value) {
            addCriterion("cont_main_uid >=", value, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidLessThan(String value) {
            addCriterion("cont_main_uid <", value, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidLessThanOrEqualTo(String value) {
            addCriterion("cont_main_uid <=", value, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidLike(String value) {
            addCriterion("cont_main_uid like", value, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidNotLike(String value) {
            addCriterion("cont_main_uid not like", value, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidIn(List<String> values) {
            addCriterion("cont_main_uid in", values, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidNotIn(List<String> values) {
            addCriterion("cont_main_uid not in", values, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidBetween(String value1, String value2) {
            addCriterion("cont_main_uid between", value1, value2, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andContMainUidNotBetween(String value1, String value2) {
            addCriterion("cont_main_uid not between", value1, value2, "contMainUid");
            return (Criteria) this;
        }

        public Criteria andOrderCodeIsNull() {
            addCriterion("order_code is null");
            return (Criteria) this;
        }

        public Criteria andOrderCodeIsNotNull() {
            addCriterion("order_code is not null");
            return (Criteria) this;
        }

        public Criteria andOrderCodeEqualTo(Byte value) {
            addCriterion("order_code =", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeNotEqualTo(Byte value) {
            addCriterion("order_code <>", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeGreaterThan(Byte value) {
            addCriterion("order_code >", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeGreaterThanOrEqualTo(Byte value) {
            addCriterion("order_code >=", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeLessThan(Byte value) {
            addCriterion("order_code <", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeLessThanOrEqualTo(Byte value) {
            addCriterion("order_code <=", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeIn(List<Byte> values) {
            addCriterion("order_code in", values, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeNotIn(List<Byte> values) {
            addCriterion("order_code not in", values, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeBetween(Byte value1, Byte value2) {
            addCriterion("order_code between", value1, value2, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeNotBetween(Byte value1, Byte value2) {
            addCriterion("order_code not between", value1, value2, "orderCode");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIsNull() {
            addCriterion("payment_time is null");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIsNotNull() {
            addCriterion("payment_time is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeEqualTo(Date value) {
            addCriterion("payment_time =", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotEqualTo(Date value) {
            addCriterion("payment_time <>", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThan(Date value) {
            addCriterion("payment_time >", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("payment_time >=", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThan(Date value) {
            addCriterion("payment_time <", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThanOrEqualTo(Date value) {
            addCriterion("payment_time <=", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIn(List<Date> values) {
            addCriterion("payment_time in", values, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotIn(List<Date> values) {
            addCriterion("payment_time not in", values, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeBetween(Date value1, Date value2) {
            addCriterion("payment_time between", value1, value2, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotBetween(Date value1, Date value2) {
            addCriterion("payment_time not between", value1, value2, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNull() {
            addCriterion("currency is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNotNull() {
            addCriterion("currency is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyEqualTo(String value) {
            addCriterion("currency =", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotEqualTo(String value) {
            addCriterion("currency <>", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThan(String value) {
            addCriterion("currency >", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThanOrEqualTo(String value) {
            addCriterion("currency >=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThan(String value) {
            addCriterion("currency <", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThanOrEqualTo(String value) {
            addCriterion("currency <=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLike(String value) {
            addCriterion("currency like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotLike(String value) {
            addCriterion("currency not like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyIn(List<String> values) {
            addCriterion("currency in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotIn(List<String> values) {
            addCriterion("currency not in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyBetween(String value1, String value2) {
            addCriterion("currency between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotBetween(String value1, String value2) {
            addCriterion("currency not between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(Long value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(Long value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(Long value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(Long value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(Long value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<Long> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<Long> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(Long value1, Long value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(Long value1, Long value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("`state` is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("`state` is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Byte value) {
            addCriterion("`state` =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Byte value) {
            addCriterion("`state` <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Byte value) {
            addCriterion("`state` >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("`state` >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Byte value) {
            addCriterion("`state` <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Byte value) {
            addCriterion("`state` <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Byte> values) {
            addCriterion("`state` in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Byte> values) {
            addCriterion("`state` not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Byte value1, Byte value2) {
            addCriterion("`state` between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Byte value1, Byte value2) {
            addCriterion("`state` not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andConfirmerIsNull() {
            addCriterion("confirmer is null");
            return (Criteria) this;
        }

        public Criteria andConfirmerIsNotNull() {
            addCriterion("confirmer is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmerEqualTo(String value) {
            addCriterion("confirmer =", value, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerNotEqualTo(String value) {
            addCriterion("confirmer <>", value, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerGreaterThan(String value) {
            addCriterion("confirmer >", value, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerGreaterThanOrEqualTo(String value) {
            addCriterion("confirmer >=", value, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerLessThan(String value) {
            addCriterion("confirmer <", value, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerLessThanOrEqualTo(String value) {
            addCriterion("confirmer <=", value, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerLike(String value) {
            addCriterion("confirmer like", value, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerNotLike(String value) {
            addCriterion("confirmer not like", value, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerIn(List<String> values) {
            addCriterion("confirmer in", values, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerNotIn(List<String> values) {
            addCriterion("confirmer not in", values, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerBetween(String value1, String value2) {
            addCriterion("confirmer between", value1, value2, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmerNotBetween(String value1, String value2) {
            addCriterion("confirmer not between", value1, value2, "confirmer");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeIsNull() {
            addCriterion("confirmation_time is null");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeIsNotNull() {
            addCriterion("confirmation_time is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeEqualTo(Date value) {
            addCriterion("confirmation_time =", value, "confirmationTime");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeNotEqualTo(Date value) {
            addCriterion("confirmation_time <>", value, "confirmationTime");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeGreaterThan(Date value) {
            addCriterion("confirmation_time >", value, "confirmationTime");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("confirmation_time >=", value, "confirmationTime");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeLessThan(Date value) {
            addCriterion("confirmation_time <", value, "confirmationTime");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeLessThanOrEqualTo(Date value) {
            addCriterion("confirmation_time <=", value, "confirmationTime");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeIn(List<Date> values) {
            addCriterion("confirmation_time in", values, "confirmationTime");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeNotIn(List<Date> values) {
            addCriterion("confirmation_time not in", values, "confirmationTime");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeBetween(Date value1, Date value2) {
            addCriterion("confirmation_time between", value1, value2, "confirmationTime");
            return (Criteria) this;
        }

        public Criteria andConfirmationTimeNotBetween(Date value1, Date value2) {
            addCriterion("confirmation_time not between", value1, value2, "confirmationTime");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeIsNull() {
            addCriterion("plan_payment_time is null");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeIsNotNull() {
            addCriterion("plan_payment_time is not null");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeEqualTo(Date value) {
            addCriterion("plan_payment_time =", value, "planPaymentTime");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeNotEqualTo(Date value) {
            addCriterion("plan_payment_time <>", value, "planPaymentTime");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeGreaterThan(Date value) {
            addCriterion("plan_payment_time >", value, "planPaymentTime");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("plan_payment_time >=", value, "planPaymentTime");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeLessThan(Date value) {
            addCriterion("plan_payment_time <", value, "planPaymentTime");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeLessThanOrEqualTo(Date value) {
            addCriterion("plan_payment_time <=", value, "planPaymentTime");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeIn(List<Date> values) {
            addCriterion("plan_payment_time in", values, "planPaymentTime");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeNotIn(List<Date> values) {
            addCriterion("plan_payment_time not in", values, "planPaymentTime");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeBetween(Date value1, Date value2) {
            addCriterion("plan_payment_time between", value1, value2, "planPaymentTime");
            return (Criteria) this;
        }

        public Criteria andPlanPaymentTimeNotBetween(Date value1, Date value2) {
            addCriterion("plan_payment_time not between", value1, value2, "planPaymentTime");
            return (Criteria) this;
        }

        public Criteria andPlanAmountIsNull() {
            addCriterion("plan_amount is null");
            return (Criteria) this;
        }

        public Criteria andPlanAmountIsNotNull() {
            addCriterion("plan_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPlanAmountEqualTo(BigDecimal value) {
            addCriterion("plan_amount =", value, "planAmount");
            return (Criteria) this;
        }

        public Criteria andPlanAmountNotEqualTo(BigDecimal value) {
            addCriterion("plan_amount <>", value, "planAmount");
            return (Criteria) this;
        }

        public Criteria andPlanAmountGreaterThan(BigDecimal value) {
            addCriterion("plan_amount >", value, "planAmount");
            return (Criteria) this;
        }

        public Criteria andPlanAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("plan_amount >=", value, "planAmount");
            return (Criteria) this;
        }

        public Criteria andPlanAmountLessThan(BigDecimal value) {
            addCriterion("plan_amount <", value, "planAmount");
            return (Criteria) this;
        }

        public Criteria andPlanAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("plan_amount <=", value, "planAmount");
            return (Criteria) this;
        }

        public Criteria andPlanAmountIn(List<BigDecimal> values) {
            addCriterion("plan_amount in", values, "planAmount");
            return (Criteria) this;
        }

        public Criteria andPlanAmountNotIn(List<BigDecimal> values) {
            addCriterion("plan_amount not in", values, "planAmount");
            return (Criteria) this;
        }

        public Criteria andPlanAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("plan_amount between", value1, value2, "planAmount");
            return (Criteria) this;
        }

        public Criteria andPlanAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("plan_amount not between", value1, value2, "planAmount");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}